package com.hutao.medical.mapper.print;

import com.hutao.medical.pojo.print.PrintDetail;
import com.hutao.medical.pojo.print.PrintDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrintDetailMapper {
    int countByExample(PrintDetailExample example);

    int deleteByExample(PrintDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PrintDetail record);

    int insertSelective(PrintDetail record);

    List<PrintDetail> selectByExample(PrintDetailExample example);

    PrintDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PrintDetail record, @Param("example") PrintDetailExample example);

    int updateByExample(@Param("record") PrintDetail record, @Param("example") PrintDetailExample example);

    int updateByPrimaryKeySelective(PrintDetail record);

    int updateByPrimaryKey(PrintDetail record);
    //更新打印详情审核状态
   int updateCheckStatusByMrIdAndCard(@Param("status")Integer status,@Param("patientCard")String patientCard,@Param("medicalRecord")String medicalRecord);
}